package com.maxchaintech.integral.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.maxchaintech.common.core.annotation.Excel;
import com.maxchaintech.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 积分兑换订单对象 gy_points_redemption_order
 * 
 * @author jyw
 * @date 2021-04-20
 */
public class PointsRedemptionOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分兑换订单id */
    private Long id;

    /** 当前用户userId */
    @Excel(name = "当前用户userId")
    private String userId;

    /** shopId */
    @Excel(name = "shopId")
    private String shopId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderId;

    /** 消费者用户id */
    @Excel(name = "消费者用户id")
    private String customerId;

    /** 消费者名字 */
    @Excel(name = "消费者名字")
    private String customerName;

    /** 消费者手机号 */
    @Excel(name = "消费者手机号")
    private String customerMobile;

    /** 积分 */
    @Excel(name = "积分")
    private String score;

    /** 客户收货地址 */
    @Excel(name = "客户收货地址")
    private String customerAddress;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String mailNo;

    /** 总价 */
    @Excel(name = "总价")
    private String totalPrice;

    /** 优惠了多少，没有优惠传0 */
    @Excel(name = "优惠了多少，没有优惠传0")
    private String benefitPrice;

    /** 总价-优惠，最终的价格 */
    @Excel(name = "总价-优惠，最终的价格")
    private String amt;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNo;

    /** 商品详情 */
    private List<PointsRedemptionOrderDetails> prodList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setShopId(String shopId) 
    {
        this.shopId = shopId;
    }

    public String getShopId() 
    {
        return shopId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setCustomerMobile(String customerMobile) 
    {
        this.customerMobile = customerMobile;
    }

    public String getCustomerMobile() 
    {
        return customerMobile;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setCustomerAddress(String customerAddress) 
    {
        this.customerAddress = customerAddress;
    }

    public String getCustomerAddress() 
    {
        return customerAddress;
    }
    public void setMailNo(String mailNo) 
    {
        this.mailNo = mailNo;
    }

    public String getMailNo() 
    {
        return mailNo;
    }
    public void setTotalPrice(String totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public String getTotalPrice() 
    {
        return totalPrice;
    }
    public void setBenefitPrice(String benefitPrice) 
    {
        this.benefitPrice = benefitPrice;
    }

    public String getBenefitPrice() 
    {
        return benefitPrice;
    }
    public void setAmt(String amt) 
    {
        this.amt = amt;
    }

    public String getAmt() 
    {
        return amt;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }

    public List<PointsRedemptionOrderDetails> getProdList() {
        return prodList;
    }

    public void setProdList(List<PointsRedemptionOrderDetails> prodList) {
        this.prodList = prodList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .append("orderId", getOrderId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("customerMobile", getCustomerMobile())
            .append("score", getScore())
            .append("customerAddress", getCustomerAddress())
            .append("mailNo", getMailNo())
            .append("totalPrice", getTotalPrice())
            .append("benefitPrice", getBenefitPrice())
            .append("amt", getAmt())
            .append("batchNo", getBatchNo())
            .append("prodList",getProdList())
            .toString();
    }
}
